package bjut.core.instantiation;

import bjut.core.bean.BeanDefinition;
import bjut.core.exception.BeansException;

import java.lang.reflect.Constructor;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/22 22:15
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;

}
